import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);


import userInfo from "./modules/userInfo"
import app from "./modules/app"
// import permission from "./modules/permission"
import dict from "./modules/dict"
import auth from "./modules/auth"
import getters from './getters'

const store = new Vuex.Store({ // 不直接 export
  getters,
  modules: {
    userInfo,
    app,
    dict,
    auth
  }
})

export default store;
